import { createApp } from 'vue'
import App from './App.vue'
import router from "./router/index"
import store from './store'
import './style.css'
import 'animate.css'

import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';

import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
import VMdPreview from '@kangc/v-md-editor/lib/preview';
import '@kangc/v-md-editor/lib/style/preview.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github';

VueMarkdownEditor.use(vuepressTheme);
VMdPreview.use(githubTheme);

createApp(App).use(router).use(store).use(ElementPlus).use(VueMarkdownEditor).use(VMdPreview).mount('#app')